package com.ecar.api.service.common;

import com.ecar.common.dto.DataBean;
import com.ecar.core.common.entity.Address;

public interface AddressService {
    int deleteByPrimaryKey(String id);

    DataBean insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);
    
    DataBean selectByUserIdAndUserType(String userId,Integer userType);
}